import router from './router'
import {Route} from 'vue-router'

const aaa = [{
    path: '/',
    component: () => import('@/views/layout/Layout.vue'),
    redirect: '/main5',
    name: 'main3',
    meta: {hidden: false, title: '只有一个3', icon: 'form'},
    children: [{
        path: 'main5',
        meta: {hidden: false, title: '只有一个4', icon: 'form'},
        component: () => import('@/views/layout/Main.vue')
    }]
}]
console.log("引用文件即可执行  我执行啦.....................")
router.addRoutes(aaa) // 动态添加可访问路由表
